
Ext.onReady(function() {

	var mapPanel = new ca.magex.gps.TrackpointMapPanel({
		title: 'Map',
		id: 'map-panel',
		region: 'center'
	});

	var tracks = new ca.magex.gps.TrackGridFormPanel({
		title: 'Track Grid Form Panel',
		region: 'west',
		split: true,
		width: 500
	});
	
	var segs = new ca.magex.gps.GpsTrailsPanel({
		region: 'west',
		split: true,
		width: 200
	});
	
	new Ext.Panel({
		title: 'MX Gps Console',
		layout: 'border',
		renderTo: Ext.getBody(),
		height: 600,
		width: 800,
		items: [segs, mapPanel]
	})

});
